package UVA;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Scanner;

/*
 * @Author Josh Lear
 * @Date 4/14/14
 * @Problem simple IO
 */
public class UVA_272 {
    public static void main (String[] args) throws IOException {
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(
                System.out));
        Scanner sc = new Scanner(System.in);
        String s = "";
        while (sc.hasNext()) {
            s += sc.nextLine() + "\n";
        }
        char[] l = s.toCharArray();
        ArrayList<Character> array = new ArrayList<Character>();
        for (int i = 0; i < s.length(); i++) {
            array.add(l[i]);
        }
        boolean first = true;
        for (int i = 0; i < array.size(); i++) {
            if (array.get(i) == '"') {
                if (first) {
                    array.remove(i);
                    array.add(i, '`');
                    array.add(i, '`');
                    first = false;
                } else {
                    array.remove(i);
                    array.add(i, '\'');
                    array.add(i, '\'');
                    first = true;
                }
            }
        }
        for (int i = 0; i < array.size(); i++) {
            bw.write(array.get(i));
        }
        bw.flush();
        sc.close();
    }
}
